package com.xxl.job.executor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * @ProjectName: lfh-zhifubao
 * @Package: com.lfh.lfhalipay.entity
 * @ClassName: Orders
 * @Author: lfh
 * @Description:
 * @Date: 2020/3/6 18:53
 * @Version: 1.0
 */
@TableName("orders")
public class Orders {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;//主键
    private String orderId;//订单编号
    private String name;//商品名称
    private Date createDate;//订单创建日期
    private Integer status;//是否支付
    private Date paymentDate;//订单支付日期
    private String tradeNo;//支付宝订单号
    private String buyerId;//买家支付宝用户号

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getPaymentDate() {
        return paymentDate;
    }

    public void setPaymentDate(Date paymentDate) {
        this.paymentDate = paymentDate;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId;
    }
}
